@import "styles/mixins";
@import "styles/size";
@import "styles/animation";

.profile_section {
  @include container_center;

  display: grid;
  grid-template-columns: 2fr 4fr;

  align-items: center;

  height: $content_height;

  .profile_buttons {
    height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;

    button {
      color: $theme_light;
    }

    button:hover,
    button:active {
      color: $theme_white;
    }

    p {
      opacity: .4;
    }

    .isActive {
      color: $theme_white;
    }
  }

  .profile_content {
    height: $content_height;
    display: flex;

    form {
      display: flex;
      align-items: start;
      justify-content: center;
      flex-direction: column;

      position: relative;

      width: 100%;
      height: 90vh;

      .profile_update_button {
        position: absolute;
      }
    }
  }

  .profile_orders {
    width: 100%;
    height: 80vh;

    overflow-y: scroll;

    z-index: 0;
  }
}